<template>
	<view class="container">
		<image src="/static/other_icons/success_page.png" class="success"></image>
		<view class="title"><text>提交成功</text></view>
		<button type="default" class="btn" @click="goHome()">返回首页</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			goHome() {
				uni.switchTab({
					url: '/pages/home/home'
				})
			}
		}
	}
</script>

<style lang="scss">
	.container {
		display: flex;
		flex-direction: column;
		justify-content: center;

		.success {
			margin-top: 120rpx;
			width: 175rpx;
			height: 175rpx;
			align-self: center;

		}

		.title {
			text-align: center;
			margin-top: 30rpx;
		}

		.btn {
			background: linear-gradient(90deg, #E62129 0%, #BA000A 100%);
			border-radius: 44rpx;
			color: #FFFFFF;
			margin-top: 95rpx;
			width: 690rpx;
		}
	}
</style>
